﻿<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="edge">
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1.0,user-scalable=0">
    <meta content="telephone=no" name="format-detection" />
    <meta name="description" content="">
    <meta name="keywords" content="">
    <title>知识库-立白会议</title>
    <link rel="stylesheet" type="text/css" href="css/reset.css">
    <link rel="stylesheet" type="text/css" href="css/global.css">
    <link rel="stylesheet" type="text/css" href="css/media.css">
</head>

<body id="app">
    <!-- 头部 -->
    <header class="header">
        <!--<a href="javascript:;" @click="back();" title="返回" class="icon back"></a>-->
        <back toback="true"></back>
        <h1>{{typeName}}</h1>
        <!-- <a href="javascript:void(0);" title="返回" class="icon cateIcon"></a> -->
    </header>

    <!-- 立白会议 -->
    <section class="padT23" v-show="!showModal">
        <ul class="quesCont askCont marT12">
            <li v-for="info in data" v-touch:swipe="swipeLeft($event)" v-touch-options:swipe="{ direction: 'horizontal' }">
                <div>
                    <a href="javascript:;" @click="lookAsk(info.id);" class="db">
                        <div class="clearfix padB24">
                            <img v-bind:src=info.headPic class="fl borderRadius wh45">
                            <span class="db fl font20 color72 name">{{info.author}}<em class="colorB">({{info.level}})</em></span>
                            <!-- <span class="fr font20 line95 colorb6">234</span> -->
                        </div>
                        <h3 class="font26 color22 titles">{{info.title}}</h3>
                        <span class="db font24 color72 descText" v-html="info.content"></span>
                    </a>

                    <a href="meeting.html?id={{info.id}}&name={{info.name}}" v-for="info in info.type" class="font18 colorB tips">
                        <em>{{info.name}}</em>
                    </a>

                    <span class="font18 colorb6">{{info.date}}</span>

                    <div class="clearfix">
                        <span class="fl imgIcon"></span>
                        <span class="fr comIcon">{{info.commentCount}}</span>
                        <span class="fr view">{{info.readCount}}</span>
                    </div>
                </div>
                <div class="font26 dib shareColl two">
                    <a href="javascript:void(0);" @click="share({shareId:info.id,shareTit:info.title,sharePic:info.content},$event);" class="shareIcon"></a>
                    <a href="javascript:void(0);" @click="Collection({dataID:info.id},$event);" class="collIcon"></a>
                </div>
            </li>

        </ul>
    </section>

    <share :show.sync="showModal"></share>
    <!-- template for the modal component -->
    <script type="x/template" id="share-template">
        <!-- 头部 -->
        <header class="header" v-show="show">
            <a href="javascript:;" title="返回" class="icon back" @click="cancel();"></a>
            <div class="clearfix search-box searchBigBox">
                <input type="button" class="fl search-btn" @click="search();">
                <input type="text" id="searchword" class="search-txt" placeholder="搜索" value="" maxlength="30" v-model="query">
            </div>
            <a href="javascript:void(0);" title="确认" @click='ok();' class="text">确认</a>
        </header>

        <!-- 通讯录 -->
        <section class="padT23 addrBook" v-show="show">
            <div v-for="info in users">
                <span class="db pad24 font18 color72">{{info.type}}</span>
                <ul id='uluser' class="padLR24 bgff">
                    <!-- 选中则加上 class="on" -->
                    <li dataID='{{info.uid}}' class="padTB24 font24 color21 borderB" @click="checked($event);" v-for="info in info.userList | filterBy query in 'uname'">
                        {{info.uname }}
                    </li>
                </ul>
            </div>

        </section>
    </script>

    <script type="text/javascript" src="js/lib/jquery.min.js"></script>
    <script type="text/javascript" src="js/lib/vue.js"></script>
    <script src="js/lib/hammer.min.js"></script>
    <script src="js/lib/vue-touch.js"></script>
    <script type="text/javascript" src="js/lib/global.js"></script>
    <script type="text/javascript" src="js/lib/alert.js"></script>
    <script type="text/javascript" src="js/app.js"></script>
    <script type="text/javascript" src="js/scrollbar.js"></script>
    <script type="text/javascript" src="js/lib/common.js"></script>
    <script type="text/javascript" src="js/askList.js"></script>

</body>

</html>